<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>证书管理</title>
  <#include "/include/layui-top.html">
  <style>
  .layui-layer-page .layui-layer-content { overflow: visible !important; }
  </style>
</head>
<body style='overflow: scroll;overflow:hidden'>
<form class="layui-form layui-card-body" action="javascript:void(0);">
  <div class="layui-form-item">
  	<div class="layui-inline">
  	  <input class="layui-input" type="text" id="name" name="name" autocomplete="off" placeholder="通用名" />
    </div>

    <div class="layui-inline">
        <div class="layui-btn-group">
            <button class="layui-btn" lay-submit lay-filter="search-opt">查询</button>
        </div>
    </div>
  </div>
  <div class="layui-row">
    <div class="layui-col-xs3">
	  <div class="layui-btn-group">
		<button type="button" class="layui-btn layui-btn-sm" id="ca-opt">
			<i class="layui-icon">&#xe654;</i>
			CA证书
			<i class="layui-icon layui-icon-more-vertical"></i>
		</button>
		<button type="button" class="layui-btn layui-btn-sm" id="more-opt">
			操作
			<i class="layui-icon layui-icon-more-vertical"></i>
		</button>
		<div id="upload-opt" class="layui-hide"></div>
	  </div>
	  <button type="button" class="layui-btn layui-btn-sm layui-btn-normal" id="viewca-opt">查看CA证书</button>
	  <!-- 树形组件 -->
      <div id="cer_tree"></div>
    </div>
    <div class="layui-col-xs9">
	  <!-- 数据表格 -->
      <table id="table" lay-size="sm" class="layui-hide" lay-filter="table"></table>
    </div>
  </div>
  
</form>
<#include "/include/layui-end.html">
<script type="text/html" id="toolbar">
  <div class="layui-btn-group">
    <button class="layui-btn layui-btn-sm" lay-event="addData-opt">
	  <i class="layui-icon">&#xe654;</i> 创建证书
	</button>
	<!-- <button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="batch-del-opt">
	  <i class="layui-icon">&#xe640;</i> 批量吊销
	</button> -->
  </div>
  <button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="refresh-opt">
	<i class="layui-icon">&#xe669;</i> 刷新
  </button>
</script>
<script type="text/html" id="optbar">
  <div class="layui-btn-group">
    <button class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail-opt">查看</button>
    <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="revoke-opt">吊销</button>
    <button class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del-opt">删除</button>
    <button type="button" class="layui-btn layui-btn-xs" id="download-render" lay-event="download-opt">
      更多
      <i class="layui-icon layui-icon-more-vertical"></i>
    </button>
  </div>
</script>
<script>
	layui.config({
		base: '/components/app/boss/openssl/'
	}).use('opensslPage');
</script>
</body>

<#include "nginx-conf-window.html">
<#include "new-edit-window.html">
<#include "openssl-edit-window.html">
<#include "detail-window.html">
</html>